@charset "utf-8";
.service {
    position: fixed;
    width: 80px;
    top: 50%;
    right: 20px;
    z-index: 9999;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}

.service > ul > li {
    width: 80px;
    height: 80px;
    padding-top: 16px;
    margin-bottom: 2px;
    border-radius: 5px;
    background-color: #df3536;
    text-align: center;
}

.service > ul > li:hover {
    background-color: #333;
}

.service > ul > li.home,
.service > ul > li.contact,
.service > ul > li.weChatMo,
.service > ul > li.dial {
    display: none;
}

.service > ul > li.hotLine,
.service > ul > li.qCodePc {
    position: relative;
}

.service > ul > li.hotLine .hotLineFloat {
    position: absolute;
    top: 0;
    left: 100px;
    width: 300px;
    height: 80px;
    z-index: 999;
    line-height: 80px;
    border-radius: 5px;
    background: #df3536;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.service > ul > li.hotLine .hotLineFloat .hotLineNum {
    color: #fff;
    font-size: 0;
}

.service > ul > li.hotLine.current .hotLineFloat {
    left: -305px;
}

.service > ul > li.hotLine.current .hotLineFloat .hotLineNum {
    font-size: 20px;
}

.service > ul > li.qCodePc .qCodePcFloat {
    position: absolute;
    top: 0;
    left: 100px;
    width: 162px;
    height: 162px;
    padding: 10px;
    z-index: 999;
    border-radius: 5px;
    background: #df3536;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.service > ul > li.qCodePc .qCodePcFloat .qCodePcImg {
    width: 0;
    height: 0;
}

.service > ul > li.qCodePc.current .qCodePcFloat {
    left: -167px;
}

.service > ul > li.qCodePc.current .qCodePcFloat .qCodePcImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service > ul > li img,
.service > .toTop img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: cover;
    margin-bottom: 6px;
}

.service > ul > li span,
.service > .toTop span {
    display: block;
    color: #fff;
}

.service > .toTop {
    display: block;
    width: 80px;
    height: 64px;
    border-radius: 5px;
    background-color: #df3536;
    text-align: center;
    padding-top: 16px;
}

.mask {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: none;
    background: rgba(0, 0, 0, .6);
    z-index: 99999;
}

.mask > .mobilQCode {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 35px 20px 20px 20px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0px 2px 6px #777;
    -webkit-box-shadow: 0px 2px 6px #777;
    -moz-box-shadow: 0px 2px 6px #777;
    border-radius: 10px;
    width: 300px;
    height: auto;
    overflow: hidden;
}

.mask > .mobilQCode > .close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    background: #3378fa;
    border-radius: 50%;
    cursor: pointer;
}

.mask > .mobilQCode > img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    margin-top: 20px;
    margin-bottom: 10px;
}

.mask > .mobilQCode > p {
    color: #333;
    font-size: 14px;
    line-height: 25px;
    text-align: center;
}

.mask > .mobilQCode > p span {
    display: inline-block;
    padding: 3px 5px;
    line-height: 18px;
    background-color: #df3536;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.alert {
    position: fixed;
    top: 50%;
    margin-top: -23px;
    z-index: 9999999;
    font-size: 16px;
    color: #fff;
    width: 90%;
    right: 5%;
    line-height: 46px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #333;
    border-radius: 5px;
    display: none;
}


/*!*小平板，横屏手机*!*/
@media screen and (max-width: 768px) {
    .service {
        width: 100%;
        height: 60px;
        top: auto;
        bottom: 0;
        left: 0;
        -webkit-transform: none;
        -moz-transform: none;
        transform: none;
    }

    .service > ul {
        height: 60px;
        overflow: hidden;
    }

    .service > ul > li {
        height: 60px;
        float: left;
        margin: 0;
        width: 25%;
        border-radius: 0;
        border-right: 1px solid #fff;
        padding-top: 8px;
    }

    .service > ul > li:last-child {
        border: none;
    }

    .service > ul > li.home,
    .service > ul > li.dial,
    .service > ul > li.weChatMo,
    .service > ul > li.contact {
        display: block;
    }

    .service > ul > li.online,
    .service > ul > li.hotLine,
    .service > ul > li.qCodePc,
    .service > .toTop {
        display: none;
    }

    .service > ul > li img,
    .service > .toTop img {
        margin-bottom: 0;
    }


}